/*!
 * TidyBlog 2.0
 * SNS share - v1.0.0 (2013-10-05T09:50:54+0800)
 * https://code.google.com/p/tidyblog/ | Released under MIT license
 */
define(function(require, exports, module) { 'use strict';

var encode = window.encodeURIComponent;

return {
	sinawb: function(title, href) {
		return 'http://v.t.sina.com.cn/share/share.php' +
			'?title=' + encode(title) + '&url=' + encode(href);
	},
	
	tencentwb: function(title, href) {
		return 'http://v.t.qq.com/share/share.php' +
			'?title=' + encode(title) + '&url=' + encode(href);
	},
	
	qqspace : function(title, href) {
		return 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey' +
			'?title=' + encode(title) + '&url=' + encode(href);
	},

	neteasewb : function(title, href) {
		return 'http://t.163.com/article/user/checkLogin.do' +
			'?info=' + encode(title) + '&link=' + encode(href);
	},

	sohuwb : function(title, href) {
		return 'http://t.sohu.com/third/post.jsp?' +
			'?title=' + encode(title) + '&url=' + encode(href);
	},
	
	renren : function(title, href) {
		return 'http://share.renren.com/share/buttonshare.do' +
			'?title=' + encode(title) + '&link=' + encode(href);
	},
	
	douban : function(title, href) {
		return 'http://www.douban.com/recommend/' +
			'?title=' + encode(title) + '&url=' + encode(href);
	},

	googleplus : function(title, href) {
		return 'https://plus.google.com/share' + 
			'?t=' + encode(title) + '&url=' + encode(href);
	}
};

});